inspector: Remove unused hash table
authorBenjamin Otte <otte@redhat.com>
Sat, 17 Jan 2015 23:17:57 +0000 (00:17 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 20 Jan 2015 05:30:19 +0000 (06:30 +0100)
gtk/inspector/style-prop-list.c

index ab29f9b4c3c804a1478214c23435d5cdcd628e6c..45fac8db642e034cdf119761111bdf0ada0cec0c 100644 (file)
@@ -47,7 +47,6 @@ enum
 
 struct _GtkInspectorStylePropListPrivate
 {
-  GHashTable *css_files;
   GtkListStore *model;
   GtkWidget *widget;
   GtkWidget *tree;
@@ -203,8 +202,6 @@ gtk_inspector_style_prop_list_init (GtkInspectorStylePropList *pl)
                                         GTK_SORT_ASCENDING);
   gtk_tree_view_set_search_entry (GTK_TREE_VIEW (pl->priv->tree),
                                   GTK_ENTRY (pl->priv->search_entry));
-  pl->priv->css_files = g_hash_table_new_full (g_file_hash, (GEqualFunc) g_file_equal,
-                                           g_object_unref, (GDestroyNotify) g_strfreev);
 
   pl->priv->prop_iters = g_hash_table_new_full (g_str_hash,
                                                 g_str_equal,
@@ -247,7 +244,6 @@ finalize (GObject *object)
 {
   GtkInspectorStylePropList *pl = GTK_INSPECTOR_STYLE_PROP_LIST (object);
 
-  g_hash_table_unref (pl->priv->css_files);
   g_hash_table_unref (pl->priv->prop_iters);
 
   G_OBJECT_CLASS (gtk_inspector_style_prop_list_parent_class)->finalize (object);